package com.huangpuweb.task.service.imp;


import com.huangpuweb.task.model.*;
import com.huangpuweb.task.service.HiveZdk57ApiService;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class HiveZdk57ApiServiceImp extends BaseServiceSysData57Imp implements HiveZdk57ApiService {


    @Override
    public List<BlmqOwnCheckList> ownweCheckListTask() {
        String sql="select * from ownwe_check_list";
        return getEntryList(sql,new BlmqOwnCheckListRowMapper(),new Object[]{});
    }

    @Override
    public List<BlmqEmergencyDtl> emergencyDtlTask() {
        String sql="select * from emergency_dtl";
        return getEntryList(sql,new BlmqEmergencyDtlRowMapper(),new Object[]{});
    }

    @Override
    public List<BlmqCountryCheck> hpCountyCheckCountTask() {
        String sql="select * from county_check_count";
        return getEntryList(sql,new BlmqCountryCheckRowMapper(),new Object[]{});
    }

    @Override
    public List<BlmqCheckListLog> hpCheckListLogTask() {
        String sql="select * from check_list_log";
        return getEntryList(sql,new BlmqCheckListLogRowMapper(),new Object[]{});
    }

    @Override
    public List<BlmqCheckListDtl> hpCheckListDtlTask() {
        String sql="select * from check_list_dtl";
        return getEntryList(sql,new BlmqCheckListDtlRowMapper(),new Object[]{});
    }

    @Override
    public List<BlmqCheckList> hpCheckListTask() {
        String sql="select * from check_list";
        return getEntryList(sql,new BlmqCheckListRowMapper(),new Object[]{});
    }

    @Override
    public List<BlmqBuildInfo> getBuildInfo() {
        String sql="select * from build_info";
        return getEntryList(sql,new BlmqBuildInfoRowMapper(),new Object[]{});
    }
}
